package com.chw.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chw.shop.entity.po.ShopImg;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ShopimgService extends BaseMapper<ShopImg> {
    @Select("select img from t_shop_imgs where pid=#{id}")
    List<String> queryImgs(Integer id);
}
